<template>
  <el-button>
    <template #icon v-if="$props.icon">
      <cl-icon :icon="$props.icon" />
    </template>
    <slot></slot>
  </el-button>
</template>

<script setup lang="ts">
defineProps<{
  icon?: string;
}>();
</script>

<style scoped lang="scss"></style>
